package com.xhsj.user.hr.process.processDefinition.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xhsj.user.hr.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 流程-任务审核表
 * </p>
 *
 * @author liuqinghua
 * @since 2020-08-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_global_approval_task")
public class TbGlobalApprovalTask extends BaseEntity<TbGlobalApprovalTask> {

    private static final long serialVersionUID = 1L;

    /**
     * 流程id 外键  tb_global_business id
     */
    @TableField("business_id")
    private Long businessId;

    /**
     * 流程实例id
     */
    @TableField("data_id")
    private Long dataId;

    /**
     * 流程节点id
     */
    @TableField("node_id")
    private Long nodeId;

    /**
     * 候选审核人角色id
     */
    @TableField("role_id")
    private Long roleId;

    /**
     * 审核人id  外键 tb_global_user id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 处理人
     */
    @TableField("handler")
    private String handler;

    /**
     * 申请人
     */
    @TableField("proposer_id")
    private Long proposerId;


}
